package com.hl.service;

import com.hl.mapper.Zixunlunbo;
import com.hl.pojo.Carouselimages;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;
@Service
public class ZixunlunboServiceImpl implements ZixunlunboService {

    @Autowired
    private Zixunlunbo zixunlunbo;
    @Override
    public List<Carouselimages> carouselimages() {
        return zixunlunbo.lunbophotos();
    }

    @Override
    public List<Carouselimages> selectlunbo() {
        return zixunlunbo.selectlunbo();
    }

    @Override
    public int insertlunbophotos(String path) {
        return zixunlunbo.insertlunbophotos(path);
    }

    @Override
    public int deletelunbophotos(Integer id) {
        return zixunlunbo.deletelunbophotos(id);
    }
}
